var $GLOBAL_CONFIG;
var $GLOBAL_NUMBER;
var $GLOBAL_DIALOG;
var $GLOBAL_SLT;
var $GLOBAL_PLACE=0;
var $GLOBAL_INTERVAL;
var $GLOBAL_MODE=0;
var $GLOBAL_BASIC_SCRIPT="";
var $GLOBAL_BASIC_FLAG=false;
var $GLOBAL_DIALOG_LOG="";
var $GLOBAL_PARAM=(getUrlParameter("dialogue")!=="")?getUrlParameter("dialogue"):"index";
    var link = document.createElement('link');
    link.href = 'css/'+$GLOBAL_PARAM+'.css';
    link.rel = 'stylesheet';
    link.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(link);
var $GLOBAL_USERNAME="";
if(jqxx_DuQu("username")===null){
	jqxx_TiaoZhuan("init.html");
}
else
{
	$GLOBAL_USERNAME=jqxx_DuQu("username")
	uname.innerHTML=$GLOBAL_USERNAME;
}

adv_DuiBaiXianShi($GLOBAL_PARAM);
function adv_GaiMing() {
    var gm = confirm("【警告】此操作将会抹去所有进度数据。是否继续？");
    if (gm==true){
        jqxx_TiaoZhuan("init.html");
    }
}